Fixed Tests: attribute »per_page« was added in commit 4cec997d1a3e8c3e81d84efb2ca7d2615dc49efe by narcoticfresh on 12.11.14
minor code cleanup