Removed unused function, added form details in test