move test to standalone file