added test for testing sample interval parameters