using mockweb for unit testing.
finished testing resource for now
using RSpec for unit testing