Added tests for --platform option and dalvik platform