added more thorough test on prescription