added tests for standart compile hook