added engine and simple test