moved test to proper location