issue #19 fixed

- cancel bytecode generation if ast hasn't passed checks
- deprecate method test()