moved items into test helper, added find_by all method into invoice