moved test to its proper location