move feature testing to a separate file