Simple expectation testing based on Appcelerator Codestrong 2012.