Added test with provided engine API. Fixes #121