1. add test modules
2. move trial code to test module