added option "test" to compile script