added first filter and tests

Would have included test for object but it failed for some reason, it always brought back the last item in the object. Ran tests in another script and it worked fine though.