Figured I'd chime in here. You should really be testing on the remix online website unless you have your own development node running locally. This really just simplifies testing, it will even tell you where it failed and why? (too much gas, i.e.)
http://remix.ethereum.org/ and depending on your editor most have cool useful plugins to help you develop.
